package com.senriot.quickup.config

import com.fasterxml.jackson.annotation.JsonIgnore
import org.springframework.boot.context.properties.ConfigurationProperties
import org.springframework.context.annotation.Bean
import org.springframework.web.client.RestTemplate

/**
 * Properties specific to Quickup.
 *
 * Properties are configured in the `application.yml` file.
 * See [io.github.jhipster.config.JHipsterProperties] for a good example.
 */
@ConfigurationProperties(prefix = "application", ignoreUnknownFields = false)
class ApplicationProperties {
    var name: String? = null
    var description: String? = null

    @Bean
    fun restTemplate(): RestTemplate = RestTemplate()
}
